﻿using System;

namespace Gmantis.Controls.DataGrid
{
    public class DataGridEndingNewRowEventArgs : EventArgs
    {
        // Methods
        internal DataGridEndingNewRowEventArgs(DataGridNewRow newRow)
        {
            this.NewRow = newRow;
        }

        // Properties
        public bool Cancel { get; set; }

        public DataGridNewRow NewRow { get; private set; }
    }
}
